<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>@yield('title','作家首页')</title>
    <link href="{{asset('css/bootstrap.min.css')}}" rel="stylesheet">
    <link href="{{asset('css/bootstrap.css')}}" rel="stylesheet">
    <link rel="stylesheet" href="{{asset('zjx/css/home-marster.css')}}">
    <script src="{{asset('js/jquery-2.1.4.min.js')}}"></script>
    <script src="{{asset('js/bootstrap.min.js')}}"></script>
</head>
<body>

    <div class="container">
        <div class="row">
            {{--首页顶部开始--}}
            <nav class="navbar navbar-default">
                <div class="container-fluid" style="border-top:5px solid #4EA8FF;">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                            <span class="sr-only">Toggle navigation</span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                        <a class="navbar-brand" href="">
                            <img src="{{asset('zjx/image/logo.png')}}" >
                        </a>
                    </div>

                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li class="active"><a href="{{url('zjxhome/index')}}"><b>首页</b> <span class="sr-only">(current)</span></a></li>
                            <li class="'active"><a href="{{url('zjxhome/course')}}">课程</a></li>
                            <li class="'active"><a href="{{url('zjxhome/special')}}">专栏</a></li>
                            <li class="'active"><a href="{{url('zjxhome/consult')}}">咨询</a></li>
                        </ul>
                        <ul class="nav navbar-nav navbar-right">
                            <div style="margin:13px 30px 0 0;">
                                <a href="{{url('zjxhome/login')}}" target="_blank">
                                    @if(session('writerid'))
                                    @else
                                    登陆
                                    <span>|</span>
                                    @endif
                                </a>
                                <a href="{{url('zjxhome/register')}}" target="_blank">
                                    @if(session('writerid'))
                                    @else
                                    注册
                                    @endif
                                </a>
                                <a href="{{url('huweize/home/userHome/'.session('writerid'))}}">
                                    @if(!empty(session('writerid')))
                                        退出
                                        @endif
                                </a>
                            </div>
                        </ul>

                      <div id="almanac" class="glyphicon glyphicon-sound-5-1" style="float: right;font-size: 30px;position: relative;top: 8px;left: -30px;color: #F96228;cursor: pointer"></div>
                        <script>
                            $(function(){
                                $('#almanac').click(function(){
                                    if ($('.almanac').css('display')=='none'){
                                        $('.almanac').css('display','inline');
                                    }else {
                                        $('.almanac').css('display','none');
                                    }
                                    $.ajax({
                                        url:"{{url('rili')}}",
                                        data:'',
                                        type:'get',
                                        success:function(data){

                                            eval('$a='+data);
                                            $yingli=$a['result']['yinli'];
                                            $wuxing=$a['result']['wuxing'];
                                            $baiji=$a['result']['baiji'];
                                            $chong=$a['result']['chongsha'];
                                            $riqi=$a['result']['yangli'];
                                            $jishen=$a['result']['jishen'];
                                            $xiongshen=$a['result']['xiongshen'];
                                            $ji=$a['result']['ji'];
                                            $yi=$a['result']['yi'];

                                            $('#shengxiao').empty()
                                            $('#yangli').empty()
                                            $('#baiji').empty()
                                            $('#chong').empty()
                                            $('#riqi').empty()
                                            $('#jishen').empty()
                                            $('#xiongshen').empty()
                                            $('#ji').empty()
                                            $('#yi').empty()


                                            $('#shengxiao').append($yingli)
                                            $('#yangli').append($wuxing)
                                            $('#baiji').append($baiji)
                                            $('#chong').append($chong)
                                            $('#riqi').append($riqi)
                                            $('#jishen').append($jishen)
                                            $('#xiongshen').append($xiongshen)
                                            $('#ji').append($ji)
                                            $('#yi').append($yi)

                                        },
                                        error:function(){
                                            alert('出错了请联系管理员')
                                        },
                                        datatype:'text'
                                    })
                                })
                            })
                        </script>
                        <div class="almanac" style="display: none">
                                <!doctype html>
                                <html lang="en">
                                <head>
                                    <meta charset="UTF-8">
                                    <title>黄历</title>
                                    <style type="text/css">
                                        .jie_guo .wnrl_k_xia_id{
                                            clear: both;
                                            overflow: hidden;
                                        }
                                        .wnrl_k_xia_top{
                                            width: 706px;
                                            display: block;
                                            overflow: hidden;
                                            margin-right: auto;
                                            margin-left: auto;
                                            border-left-width: 4px;
                                            border-left-style: solid;
                                            border-left-color: #8ec59b;
                                            border-radius: 3px 3px 0 0;
                                        }
                                        .wnrl_k_xia_top span {
                                            float: left;
                                            padding-top: 6px;
                                            padding-right: 12px;
                                            padding-left: 8px;
                                            padding-bottom: 6px;
                                            font-size: 14px;
                                            display: block;
                                            overflow: hidden;
                                            font-weight: bold;
                                            color: #FFF;
                                            background-color: #8ec59b;
                                            border-radius: 0 3px 0 0;
                                        }
                                        .wnrl_k_xia {
                                            width: 706px;
                                            display: block;
                                            overflow: hidden;
                                            background-color: #e0f3e8;
                                            border: 2px solid #8ec59b;
                                            margin-right: auto;
                                            margin-left: auto;
                                            margin-bottom: 10px;
                                            border-radius: 0 3px 3px 3px;
                                        }
                                        .wnrl_k_xia_nr {
                                            padding-bottom: 20px;
                                            padding-right: 20px;
                                            padding-left: 20px;
                                            clear: both;
                                            display: block;
                                            overflow: hidden;
                                        }
                                        .wnrl_k_xia_nr_wnrl_beizhu {
                                            float: left;
                                            width: 50%;
                                            border-bottom-width: 1px;
                                            border-bottom-style: solid;
                                            border-bottom-color: #abd6b8;
                                            padding-top: 8px;
                                            padding-bottom: 8px;
                                        }
                                        .wnrl_k_xia_nr_wnrl_beizhu .wnrl_k_xia_nr_wnrl_beizhu_biaoti {
                                            font-size: 14px;
                                            font-weight: bold;
                                            background-color: #0faad1;
                                            display: block;
                                            float: left;
                                            height: 24px;
                                            line-height: 24px;
                                            padding-right: 5px;
                                            padding-left: 5px;
                                            margin-right: 8px;
                                            color: #FFF;
                                        }
                                        .wnrl_k_xia_nr_wnrl_beizhu .wnrl_k_xia_nr_wnrl_beizhu_neirong {
                                            font-size: 13px;
                                            line-height: 24px;
                                            color: #000;
                                        }
                                    </style>
                                </head>
                                <body>
                                <div class="jie_guo" style="position: absolute;top: 44px;left: 462px;z-index: 11;">
                                    <div class="wnrl_k_xia_id" id="xia_id_0" style="display:block";>
                                        <div class="wnrl_k_xia_top" id="wnrl_k_xia_top">
                                            <span id="riqi"> 详细信息 </span>
                                        </div>
                                        <div class="wnrl_k_xia">
                                            <div class='wnrl_k_xia_nr'>
                                                <div class="wnrl_k_xia_nr_wnrl_beizhu">
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_biaoti">阴历</span>
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_neirong" id="shengxiao"></span>
                                                </div>
                                                <div class="wnrl_k_xia_nr_wnrl_beizhu">
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_biaoti">五行</span>
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_neirong" id="yangli"></span>
                                                </div>
                                                <div class="wnrl_k_xia_nr_wnrl_beizhu">
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_biaoti">百忌</span>
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_neirong" id="baiji"></span>
                                                </div>
                                                <div class="wnrl_k_xia_nr_wnrl_beizhu">
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_biaoti">冲</span>
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_neirong" id="chong"></span>
                                                </div>
                                                <div class="wnrl_k_xia_nr_wnrl_beizhu">
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_biaoti">吉神</span>
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_neirong" id="jishen"></span>
                                                </div>
                                                <div class="wnrl_k_xia_nr_wnrl_beizhu">
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_biaoti">凶神</span>
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_neirong" id="xiongshen"></span>
                                                </div>
                                                <div class="wnrl_k_xia_nr_wnrl_beizhu">
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_biaoti">宜</span>
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_neirong" id="yi"></span>
                                                </div>
                                                <div class="wnrl_k_xia_nr_wnrl_beizhu">
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_biaoti">忌</span>
                                                    <span class="wnrl_k_xia_nr_wnrl_beizhu_neirong" id="ji"></span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                </body>
                                </html>
                            </div>
                    </div><!-- /.navbar-collapse -->
                </div><!-- /.container-fluid -->
            </nav>
            {{--首页顶部结束--}}
            {{--<script>--}}
                {{--$(function(){--}}

                {{--})--}}
            {{--</script>--}}



        </div>

        <div class="row">
            @yield('first-content')
            @yield('first-buttom')
            @yield('course')
            @yield('special')
            @yield('consult')
            @yield('go_course')
        </div>

        <div class="row">
            {{--底部开始--}}
            <div class="pageCenter login col-md-12">
                <div id="contact-bubble" class="footer-bubble" style="display: none;">
                    <em><i></i></em>
                    <ul>
                        <li><a target="_blank" href="">联系起点客服</a></li>
                        <li><a target="_blank" href="">联系创世客服</a></li>
                    </ul>
                </div>
                <a target="_blank" href="">作家论坛</a><span>|</span>
                <a target="_blank" href="">帮助中心</a><span>|</span>
                <a id="contact" href="">联系客服</a><span>|</span><a target="_blank" href="">关于我们</a><span>|</span><a target="_blank" href="">诚聘英才</a><span>|</span><a target="_blank" href="">版权声明</a><span>|</span>Copyright
                © 2017 All Rights Reserved 阅文集团 版权所有
            </div>
            {{--底部结束--}}
        </div>
    </div>
</body>
</html>

<!-- 轮播图结束 -->
<script src="{{asset('js/jquery-2.1.4.min.js')}}"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="{{asset('js/bootstrap.min.js')}}"></script>

{{--标签云--}}



